package edu.isistan.matching.scoreTypes;

import edu.isistan.matching.structures.elements.TypeElement;
import edu.isistan.metamodel.DataType;

/**
 * Entidad que representa el resultado de la comparacion entre dos tipos
 * primitivos
 * 
 * @author Matias
 * 
 */
public class PrimitiveTypeMatchScore extends MatchScore {

	DataType type1 = null;
	
	DataType type2 = null;

	public PrimitiveTypeMatchScore(double value) {

		setScore(value);

	}

	public DataType getType1() {
		return type1;
	}

	public void setType1(DataType type1) {
		this.type1 = type1;
	}

	public DataType getType2() {
		return type2;
	}

	public void setType2(DataType type2) {
		this.type2 = type2;
	}

	@Override
	public String toString() {

		return "|Primitive:" + getScore() + "-v1:" + getType1() + "-v2:" + getType2() + "|";
	}
}
